import mysql from 'mysql2'
//创建连接池
const pool = mysql.createPool({
  host: 'localhost',
  user: 'root',
  password: '123456',
  database: 'my_db_01',
  port: 3306
})


export default pool.promise()